package com.wicket.okrframework.biz.service.dto.common;

import com.wicket.okrframework.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc MemberMsgReceiveDto
 * @使用场景
 */
@Data
public class MemberMsgReceiveDto extends BaseDto implements Serializable {

  /**
   * 身份人员ID
   */
  @ApiModelProperty("身份人员ID")
  private String originalRoleMemberId;

  /**
   * 账号ID
   */
  @ApiModelProperty("账号ID")
  private String userId;

  /**
   * 身份人员编号
   */
  @ApiModelProperty("身份人员编号")
  private String roleMemberCode;

  /**
   * 真实头像
   */
  @ApiModelProperty("真实头像")
  private String userFace;

  /**
   * 真实姓名
   */
  @ApiModelProperty("真实姓名")
  private String idCardName;

  /**
   * 绑定手机
   */
  @ApiModelProperty("绑定手机")
  private String phone;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      MemberMsgReceiveDto that = (MemberMsgReceiveDto) o;
      return  originalRoleMemberId == that.originalRoleMemberId&&userId == that.userId&&roleMemberCode == that.roleMemberCode&&userFace == that.userFace&&idCardName == that.idCardName&&phone == that.phone;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), originalRoleMemberId,userId,roleMemberCode,userFace,idCardName,phone);
    }

}
